// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:flutter/material.dart';
import 'package:image_picker_plus_nic/image_picker_plus_nic.dart';
//import 'package:flutter/material.dart';

/// [GalleryDisplaySettings] When you make ImageSource from the camera these settings will be disabled because they belong to the gallery.
class GalleryDisplaySettings {
  final UiTexts uiTexts;
  final SliverGridDelegateWithFixedCrossAxisCount gridDelegate;
  final bool showImagePreview;
  final int maximumSelection;

  /// If [cropImage] true [showImagePreview] will be true
  /// Right now this package not support crop video
  final bool cropImage;

  const GalleryDisplaySettings({
    this.uiTexts = const UiTexts(),
    this.gridDelegate = const SliverGridDelegateWithFixedCrossAxisCount(
        crossAxisCount: 4, crossAxisSpacing: 1.7, mainAxisSpacing: 1.5),
    this.showImagePreview = false,
    this.maximumSelection = 3,
    this.cropImage = false,
  });
}
